#!/bin/sh
echo removing old version
rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Project\ Templates/uiwebframe/UIWebView-based\ Application
mkdir -p ~/Library/Application\ Support/Developer/Shared/Xcode/Project\ Templates/uiwebframe
echo installing new version
svn export template ~/Library/Application\ Support/Developer/Shared/Xcode/Project\ Templates/uiwebframe/UIWebView-based\ Application
echo done
